wayland: Simplify popup parent discovery
authorJonas Ådahl <jadahl@gmail.com>
Mon, 10 Feb 2020 09:55:59 +0000 (10:55 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Wed, 19 Feb 2020 08:47:18 +0000 (09:47 +0100)
commit2bb0eddfb55c7e6fe2d500b7e27400d0ded17321
treead94f104f2d7254b1f26aebffb4c274f9cacf760
parent49fcbc27caa069c6f959f1ec2952016d1e3a876f
wayland: Simplify popup parent discovery

Now popups surfaces are always created with the parent set, so we don't
need to implement vorious guess work to try to find what the parent
might be. Remove that code and just use GdkSurface::parent which is
where the parent set during construction ends up at.
gdk/wayland/gdksurface-wayland.c